<?php
class Categorymanager_Data_Categorycontentvaluesupdate implements Categorymanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }

    public function main(array $variables = null) {
        $variables['query'] = "UPDATE category_content_values SET category_content_values.category_image = '".$variables['post']['category_image']."', category_content_values.category_title = '".$variables['post']['category_title']."', category_content_values.category_description = '".$variables['post']['category_description']."', category_content_values.category_content = '".$variables['post']['category_content']."' WHERE category_content_values.category_name='".$variables['post']['category_name']."';";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
